#ifndef DETECTOR_WIDGET_H
#define DETECTOR_WIDGET_H

#include <QPainter>
#include <QWidget>
#include "rootNode.h"

namespace Ui {
    class DetectorWidget;
}
QT_BEGIN_NAMESPACE
class QComboBox;
class QLabel;
class QToolButton;
QT_END_NAMESPACE

class DetectorWidget : public QWidget
{
    Q_OBJECT

public:
    explicit DetectorWidget();
    ~DetectorWidget();
private slots:
	void callInference();

private:

    //Ui::DetectorWidget *ui;
    QToolButton *runButton;
	QLabel *canvas;

    QImage src_image;
    QImage dst_image;


	rootNode node_root;
};

#endif // DETECTOR_WIDGET_H
